/*
 * =====================================================================================
 *
 *       Filename:  message.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  2014年08月26日 09时16分35秒
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  jianxi sun (jianxi), ycsunjane@gmail.com
 *   Organization:  
 *
 * =====================================================================================
 */
#ifndef __MESSAGE_H__
#define __MESSAGE_H__
#include "list.h"

struct message_t {
	struct list_head list;

	int proto;
	int len;
	char *data;
};

void message_init();
void message_insert(struct message_t *msg);
#endif /* __MESSAGE_H__ */
